const mongoose = require("../../db/mongodb");

module.exports = mongoose.model(
  "Product",
  new mongoose.Schema({
    name: { type: String },
    price: { type: Number },
    detail: { type: String },
    image: { type: Array },
    want: { type: Number }
  })
);
